package com.hwg.shiliupro.service.Impl;



import com.hwg.shiliupro.dao.PermissionMapper;
import com.hwg.shiliupro.po.Permission;
import com.hwg.shiliupro.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;


    @Override
    public Permission selectPermission(Integer pId) {
        Permission permission = permissionMapper.selectById(pId);
        return permission;
    }
}
